Class CRLIssuingPointRecord

java.lang.Object
com.netscape.cmscore.dbs.DBRecord
com.netscape.cmscore.dbs.CRLIssuingPointRecord
All Implemented Interfaces:
IAttrSet, IDBObj, Serializable

public class CRLIssuingPointRecord extends DBRecord
A class represents a CRL issuing point record.
Author:
thomask
See Also:
  • Field Details

  • Constructor Details

    • CRLIssuingPointRecord

      public CRLIssuingPointRecord()
      Constructs empty CRLIssuingPointRecord. This is required in database framework.
    • CRLIssuingPointRecord

      public CRLIssuingPointRecord(String id, BigInteger crlNumber, Long crlSize, Date thisUpdate, Date nextUpdate)
      Constructs a CRLIssuingPointRecord
    • CRLIssuingPointRecord

      public CRLIssuingPointRecord(String id, BigInteger crlNumber, Long crlSize, Date thisUpdate, Date nextUpdate, BigInteger deltaCRLNumber, Long deltaCRLSize, Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> revokedCerts, Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> unrevokedCerts, Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> expiredCerts)
      Constructs a CRLIssuingPointRecord
  • Method Details

    • set

      public void set(String name, Object obj) throws EBaseException
      Description copied from interface: IAttrSet
      Sets an attribute value within this AttrSet.
      Specified by:
      set in interface IAttrSet
      Overrides:
      set in class DBRecord
      Parameters:
      name - the name of the attribute
      obj - the attribute object.
      Throws:
      EBaseException - on attribute handling errors.
    • get

      public Object get(String name) throws EBaseException
      Description copied from interface: IAttrSet
      Gets an attribute value.
      Specified by:
      get in interface IAttrSet
      Overrides:
      get in class DBRecord
      Parameters:
      name - the name of the attribute to return.
      Throws:
      EBaseException - on attribute handling errors.
    • delete

      public void delete(String name) throws EBaseException
      Description copied from interface: IAttrSet
      Deletes an attribute value from this AttrSet.
      Specified by:
      delete in interface IAttrSet
      Overrides:
      delete in class DBRecord
      Parameters:
      name - the name of the attribute to delete.
      Throws:
      EBaseException - on attribute handling errors.
    • getElements

      public Enumeration<String> getElements()
      Description copied from interface: IAttrSet
      Returns an enumeration of the names of the attributes existing within this AttrSet.
      Specified by:
      getElements in interface IAttrSet
      Overrides:
      getElements in class DBRecord
      Returns:
      an enumeration of the attribute names.
    • getSerializableAttrNames

      public Enumeration<String> getSerializableAttrNames()
      Description copied from interface: IDBObj
      Returns a list of serializable attribute names. This method should return the attribute name even if there is no attribute value for the attribute.
      Specified by:
      getSerializableAttrNames in interface IDBObj
      Overrides:
      getSerializableAttrNames in class DBRecord
      Returns:
      a list of serializable attribute names
    • getId

      public String getId()
      Retrieve unique CRL identifier.
      Returns:
      unique CRL identifier
    • getCRLNumber

      public BigInteger getCRLNumber()
      Retrieves current CRL number out of CRL issuing point record.
      Returns:
      current CRL number
    • getCRLSize

      public Long getCRLSize()
      Retrieves CRL size measured by the number of entries.
      Returns:
      CRL size
    • getThisUpdate

      public Date getThisUpdate()
      Retrieves this update time.
      Returns:
      time of this update
    • getNextUpdate

      public Date getNextUpdate()
      Retrieves next update time.
      Returns:
      time of next update
    • getDeltaCRLNumber

      public BigInteger getDeltaCRLNumber()
      Retrieves current delta CRL number out of CRL issuing point record.
      Returns:
      current delta CRL number
    • getDeltaCRLSize

      public Long getDeltaCRLSize()
      Retrieves delta CRL size measured by the number of entries.
      Returns:
      delta CRL size
    • getFirstUnsaved

      public String getFirstUnsaved()
      Retrieve Retrieve reference to the first unsaved data.
      Returns:
      reference to the first unsaved data
    • getCRL

      public byte[] getCRL()
      Retrieves encoded CRL.
      Returns:
      encoded CRL
    • getDeltaCRL

      public byte[] getDeltaCRL()
      Retrieves encoded delta CRL.
      Returns:
      encoded delta CRL
    • getCACert

      public byte[] getCACert()
      Retrieves encoded CA certificate.
      Returns:
      encoded CA certificate
    • getCRLCacheNoClone

      public Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> getCRLCacheNoClone()
      Retrieves cache information about CRL.
      Returns:
      list of recently revoked certificates
    • getCRLCache

      public Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> getCRLCache()
    • getRevokedCerts

      public Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> getRevokedCerts()
      Retrieves cache information about revoked certificates.
      Returns:
      list of recently revoked certificates
    • getUnrevokedCerts

      public Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> getUnrevokedCerts()
      Retrieves cache information about certificates released from hold.
      Returns:
      list of certificates recently released from hold
    • getExpiredCerts

      public Hashtable<BigInteger,org.mozilla.jss.netscape.security.x509.RevokedCertificate> getExpiredCerts()
      Retrieves cache information about expired certificates.
      Returns:
      list of recently expired certificates